javascript:(function () {
    var url = window.location.host;
    console.log(url);
    if(url != "eduapi.uyeek.com" && url != "advbs.vanke.com"){
        return;
    }
    var allImgs = document.getElementsByTagName("img");
    var index = 0;
    var imgs = new Array();
    var srcs = new Array();
    for (var i = 0; i < allImgs.length; i++) {
        var img = allImgs[i];
        if (img.parentNode.nodeName.toLowerCase() == "a") {
            continue;
        }
        if (img.getAttribute("msedu_gallery") == "false") {
            continue;
        }
        imgs[index] = img;
        srcs[index] = img.src;
        index++;
    }
    var json = JSON.stringify(srcs);
    for (var i = 0; i < imgs.length; i++) {
        var img = imgs[i];
        img.setAttribute("data-index", i);

        img.onclick = function (e) {
            var pos = this.getAttribute("data-index");
            window.jsCallJavaObj.showBigImgs(parseInt(pos), json);
        }
    }
})();